var t = require("../common.js"), n = getApp();

Page({
    behaviors: [ t ],
    data: {
        details: {}
    },
    onLoad: function(t) {
        this.getData();
    },
    getData: function() {
        var t = this, e = n.getNetAddresss("plugin.reserve-simple.frontend.member.get-info");
        n._getNetWork({
            url: e,
            success: function(e) {
                var i = e.data;
                if (1 != i.result) return n.tips(i.msg);
                t.setData({
                    details: i.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    gotoIndex: function() {
        wx.navigateTo({
            url: "/packageF/timeAppointment/timeAppointment_index/timeAppointment_index"
        });
    },
    gotoMyList: function() {
        wx.navigateTo({
            url: "/packageF/timeAppointment/timeAppointmentMylist/timeAppointmentMylist?status=1"
        });
    },
    gotoMyRecord: function() {
        wx.navigateTo({
            url: "/packageF/timeAppointment/timeAppointmentMylist/timeAppointmentMylist?status=2"
        });
    },
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});